package com.alibaba.citrus.ots.sales.plan.api.salesplan.audit;

import java.util.List;

import com.alibaba.citrus.ots.sales.plan.sdo.SalesPlanAuditLineSDO;
import com.alibaba.lattice2.epoch.meshflow.model.annotation.MeshFlowService;
import com.alibaba.lattice2.epoch.sdk.model.Result;

/**
 * @author:zls
 * @date:2021/9/16
 */
@MeshFlowService(apps = {"bc_ots"}, name = "salesPlanAuditLineWriteService")
public interface SalesPlanAuditLineWriteService {

    /**
     * 创建审批单明细
     * @param salesPlanAuditLineSDO
     * @return
     */
    Result<String> create(SalesPlanAuditLineSDO salesPlanAuditLineSDO);

    /**
     * 批量创建审批单明细
     * @param salesPlanAuditLineSDOList
     * @return
     */
    Result<Boolean> batchCreate(List<SalesPlanAuditLineSDO> salesPlanAuditLineSDOList);
}
